package com.bnz.user.service;

import com.bnz.user.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author zfs
 * @since 2022-12-02
 */
public interface IUserService extends IService<User> {

    void sendCode(String phone);

    boolean isValidCodeSuccess(String phone, String code);

    void add(User user);

    User findById(Long id);
}
